angular.module('app').config(['$stateProvider', '$urlRouterProvider', '$httpProvider', '$provide', function(
	$stateProvider,
	$urlRouterProvider,
	$httpProvider,
	$provide
) {

	$stateProvider.state('01_register', {
		url: '/activity/01_register/{userid}',
		templateUrl: 'views/activity/01_register/index.html', //01注册送红包活动
		controller: 'ActivityCtrl'
	}).state('01_register_box', {
		url: '/activity/01_register_box/{channel}/{sharecode}',
		templateUrl: 'views/activity/01_register/register.html', //01注册送红包活动
		controller: 'ActivityCtrl'
	}).state('02_Evaluation', {
		url: '/activity/02_Evaluation',
		templateUrl: 'views/activity/02_Evaluation/index.html', //02风险测评
		controller: 'ActivityCtrl'
	}).state('03_Keyword', {
		url: '/activity/03_Keyword',
		templateUrl: 'views/activity/03_Keyword/index.html', //03测关键字活动
		controller: 'ActivityCtrl'
	}).state('03_Keyword_box', {
		url: '/activity/03_Keyword_box',
		templateUrl: 'views/activity/03_Keyword/box.html', //03测关键字活动_结果页
		controller: 'ActivityCtrl'
	}).state('04_Share', {
		url: '/activity/04_Share',
		templateUrl: 'views/activity/04_Share/index.html', //04邀请好友
		controller: 'ActivityCtrl'
	}).state('05_38', {
		url: '/activity/05_38',
		templateUrl: 'views/activity/05_38/index.html', //05  38女神节活动
		controller: 'ActivityCtrl'
	}).state('05_38_fx', {
		url: '/activity/05_38_fx',
		templateUrl: 'views/activity/05_38/fx.html', //05  38女神节活动分享
		controller: 'ActivityCtrl'
	}).state('06_inviteRegister', {
		url: '/activity/06_inviteRegister/{channel}',
		templateUrl: 'views/activity/06_inviteRegister/register.html', //06  推广渠道
		controller: 'ActivityCtrl'
	}).state('07_InviteFriends', {
		url: '/activity/07_InviteFriends',
		templateUrl: 'views/activity/07_InviteFriends/index.html', //07 邀友注册_长期
		controller: 'ActivityCtrl'
	}).state('08_518', {
		url: '/activity/08_518',
		templateUrl: 'views/activity/08_518/index.html', //08 邀友注册_518
		controller: 'ActivityCtrl'
	}).state('09_Answer', {
		url: '/activity/09_Answer',
		templateUrl: 'views/activity/09_Answer/index.html', //09 答题活动
		controller: 'ActivityCtrl'
	}).state('10_Julyseven', {
		url: '/activity/10_Julyseven',
		templateUrl: 'views/activity/10_Julyseven/index.html', //10  七夕转盘
		controller: 'ActivityCtrl'
	}).state('11_InviteFriendsUp', {
		url: '/activity/11_InviteFriendsUp',
		templateUrl: 'views/activity/11_InviteFriendsUp/index.html', //11 邀友升级
		controller: 'ActivityCtrl'
	}).state('12_zhuli', {
		url: '/activity/12_zhuli',
		templateUrl: 'views/activity/12_zhuli/index.html', //12  助理加息首页
		controller: 'ActivityCtrl'
	}).state('12_details', {
		url: '/activity/12_details/{chanceRecordId}',
		templateUrl: 'views/activity/12_zhuli/details.html', //12  助理详细页
		controller: 'ActivityCtrl'
	}).state('12_share', {
		url: '/activity/12_share/{userid}/{chanceRecordId}',
		templateUrl: 'views/activity/12_zhuli/share.html', //12  分享助力頁面
		controller: 'ActivityCtrl'
	}).state('13_pashan', {
		url: '/activity/13_pashan',
		templateUrl: 'views/activity/13_pashan/index.html', //13  爬山领红包
		controller: 'ActivityCtrl'
	}).state('14_diyRedPacket', {
		url: '/activity/14_diyRedPacket',
		templateUrl: 'views/activity/14_diyRedPacket/index.html', //14  定制红包
		controller: 'ActivityCtrl'
	}).state('14_share', {
		url: '/activity/14_share',
		templateUrl: 'views/activity/14_diyRedPacket/share.html', //14  定制红包分享
		controller: 'ActivityCtrl'
	})

}])